home *** CD-ROM | disk | FTP | other *** search
- on closeWindow
- hCloseBoxClick()
- end
-
- on hCloseBoxClick
- tell the stage
- hClearShipInfoText()
- hCloseShipInfoWindow()
- end tell
- end
-
- on hSendMemberNum aname
- return the number of member aname
- end
-
- on hDragMe
- global oShipInfoWin
- hDragWinRect(the pWinName of oShipInfoWin)
- end
-
- on hDragWinRect theWindow
- set theRect to the rect of window theWindow
- set hOff to the stageLeft + the mouseH - getAt(theRect, 1)
- set vOff to the stageTop + the mouseV - getAt(theRect, 2)
- repeat while the stillDown
- set mH to the mouseH
- set mV to the mouseV
- setAt(theRect, 1, the stageLeft + mH - hOff)
- setAt(theRect, 2, the stageTop + mV - vOff)
- setAt(theRect, 3, the stageRight + mH - hOff)
- setAt(theRect, 4, the stageBottom + mV - vOff)
- set the rect of window theWindow to theRect
- tell the stage
- updateStage()
- end tell
- end repeat
- end
-
- on hflush
- repeat with n = 37 to 116
- put "." into field n
- end repeat
- end
-